package com.ahmedmisbah.andgenplus.restgenerator.beans;

import java.util.Map;

public class ListMapper extends Mapper {
	
	private String listSetter;
	private String listPojoClassPath;
	private String titleSetter;
	private String imageSetter;
	
	
	
	public String getTitleSetter() {
		return titleSetter;
	}

	public void setTitleSetter(String titleSetter) {
		this.titleSetter = titleSetter;
	}

	public String getImageSetter() {
		return imageSetter;
	}

	public void setImageSetter(String imageSetter) {
		this.imageSetter = imageSetter;
	}



	public String getListSetter() {
		return listSetter;
	}

	public void setListSetter(String listSetter) {
		this.listSetter = listSetter;
	}


	public String getListPojoClassPath() {
		return listPojoClassPath;
	}

	public void setListPojoClassPath(String listPojoClassPath) {
		this.listPojoClassPath = listPojoClassPath;
	}

	@Override
	public Map<String, String> buildAndGetMapper() {
		velocityMapper.clear();
		
		velocityMapper.put("listPojoClassPath", getListPojoClassPath());
		velocityMapper.put("listGetter", getListSetter());
		velocityMapper.put("titleGetter", getTitleSetter());
		velocityMapper.put("imageURLGetter", getImageSetter());
		
		return velocityMapper;
	}

}
